import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Task {

    // 初始化LOGGER对象, name为TaskLogger
    /* TODO */

    public static void main(String[] args) {
        run(5, 2);
        run(10, 0);
    }

    public static void run(int a, int b) {
        try {
            // 通过info方法输出日志Start
            /* TODO */
            final int result = chu(a, b);
            LOGGER.info("End: " + result);
        } catch (ArithmeticException e) {
            LOGGER.error("Error: / by zero");
        }
    }

    public static int chu(int a, int b) {
        LOGGER.debug("chu({}, {})", a, b);
        int c = a / b;
        LOGGER.debug("chu result = {}", c);
        return c;
    }
}